package com.ashlikun.flutter_anim_test.pigeons

import com.ashlikun.flutter_anim_test.MyHostApi
import com.ashlikun.flutter_anim_test.PigeonFlutterApi
import io.flutter.embedding.engine.FlutterEngine

/**
 * 作者　　: 李坤
 * 创建时间: 2025/2/12　15:57
 * 邮箱　　：496546144@qq.com
 *
 * 功能介绍：
 */
object PigeonsConfig {
    lateinit var api: PigeonFlutterApi
    fun configureFlutterEngine(flutterEngine: FlutterEngine) {
        ExampleHostApi.setUp(flutterEngine.dartExecutor.binaryMessenger, MyHostApi())
        api = PigeonFlutterApi(flutterEngine.dartExecutor.binaryMessenger);
    }
}